package com.example.demo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author liuxianchun
 * @date 2021/1/30
 * 秒杀商品
 */
@Data
public class SecGood {

    private Long id;
    private int productId;
    private int goodsStock;  //秒杀商品库存
    private BigDecimal seckillPrice;  //秒杀价
    private Date startDate;
    private Date endDate;
    private Product detail;  //商品详情

}
